package com.st.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author Hello
 * @since 2021-11-15
 */
@TableName("g_order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单编号
     */
    private String orderId;

    /**
     * 客户编号
     */
    private String customerId;

    /**
     * 下单时间
     */
    private LocalDate createDate;

    /**
     * 发货日期
     */
    private LocalDate deliverDate;

    /**
     * 收货日期
     */
    private LocalDate takeDate;

    /**
     * 发货省份
     */
    private String deliverProvince;

    /**
     * 发货城市
     */
    private String deliverCity;

    /**
     * 收货省份
     */
    private String takeProvince;

    /**
     * 收货城市
     */
    private String takeCity;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }
    public LocalDate getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDate createDate) {
        this.createDate = createDate;
    }
    public LocalDate getDeliverDate() {
        return deliverDate;
    }

    public void setDeliverDate(LocalDate deliverDate) {
        this.deliverDate = deliverDate;
    }
    public LocalDate getTakeDate() {
        return takeDate;
    }

    public void setTakeDate(LocalDate takeDate) {
        this.takeDate = takeDate;
    }
    public String getDeliverProvince() {
        return deliverProvince;
    }

    public void setDeliverProvince(String deliverProvince) {
        this.deliverProvince = deliverProvince;
    }
    public String getDeliverCity() {
        return deliverCity;
    }

    public void setDeliverCity(String deliverCity) {
        this.deliverCity = deliverCity;
    }
    public String getTakeProvince() {
        return takeProvince;
    }

    public void setTakeProvince(String takeProvince) {
        this.takeProvince = takeProvince;
    }
    public String getTakeCity() {
        return takeCity;
    }

    public void setTakeCity(String takeCity) {
        this.takeCity = takeCity;
    }

    @Override
    public String toString() {
        return "Order{" +
            "orderId=" + orderId +
            ", customerId=" + customerId +
            ", createDate=" + createDate +
            ", deliverDate=" + deliverDate +
            ", takeDate=" + takeDate +
            ", deliverProvince=" + deliverProvince +
            ", deliverCity=" + deliverCity +
            ", takeProvince=" + takeProvince +
            ", takeCity=" + takeCity +
        "}";
    }
}
